home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / g_quake / server~1.zip / _DRONE.QH < prev    next >
Text File  |  1996-10-04  |  2KB  |  68 lines

  1. /*
  2. **
  3. ** _drone.qh (Rank Header, 1.0)
  4. **
  5. ** Copyright (C) 1996 Johannes Plass
  6. ** 
  7. ** This program is free software; you can redistribute it and/or modify
  8. ** it under the terms of the GNU General Public License as published by
  9. ** the Free Software Foundation; either version 2 of the License, or
  10. ** (at your option) any later version.
  11. ** 
  12. ** This program is distributed in the hope that it will be useful,
  13. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. ** GNU General Public License for more details.
  16. **
  17. ** You should have received a copy of the GNU General Public License
  18. ** along with this program; if not, write to the Free Software
  19. ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. ** 
  21. ** Author:   Johannes Plass (plass@dipmza.physik.uni-mainz.de)
  22. **
  23. */
  24.  
  25. float DRONE_THINK_NEXTTIME   = 0.2;  // when to call 'think' the next time
  26. float DRONE_THINK_FIRSTTIME  = 0.6;  // when to call 'think' the first time
  27. float DRONE_LIFETIME         = 6;    // lifetime of a drone
  28. float DRONE_VELOCITY_START   = 400;  // initial velocity
  29. float DRONE_TARGET_OFFSET_Z  = 16;
  30.  
  31. string drone_launch_sound_1;
  32. string drone_launch_sound_2;
  33. string drone_hoover_sound;
  34.  
  35. .float            drone_targeting_time;
  36. .float            drone_bounce_time;
  37. .float            drone_bounce_sound_time;
  38. .float            drone_bounced;
  39. .float            drone_target_is_fixed;
  40. .vector            drone_target_vector;
  41. .vector            drone_target_velocity;
  42. .float            drone_set_target_vector_time;
  43. .float            drone_stuck;
  44. .float            drone_sound_time;
  45. .entity            drone_owner;
  46. .entity            drone_1;
  47. .entity            drone_2;
  48. .entity            drone_4;
  49. .entity            drone_8;
  50. .float            drone_count;
  51. .float            drone_in_queue;
  52. .float            drone_firstthink;
  53. .vector            drone_origin_old;
  54. .float                  drone_speed;
  55.  
  56. void(entity player)    DroneInfo;
  57. void(entity player)    DroneInit;
  58. void(entity player)    DroneActiveMessage;
  59. void(entity player)    DroneHelp;
  60. void(entity player)    DroneToggleWeapon;
  61. void(entity player)    DroneResetWeapon;
  62. void(entity drone)      DroneFire;
  63. void()                  DroneThink;
  64. void()                  DroneTouch;
  65. void()                  DroneDie;
  66. float(entity drone)     DroneFindTarget;
  67. float(entity targ,entity drone) DroneUpdateTargetData;
  68.